<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.hk.Mgr.web.message.SessionConstants"%>
<%@page import="com.hk.Mgr.web.message.Token"%>
<%@page import="java.util.List"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String serverPath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()+ "/";
	//double versions = 2.1;
	long versions = new java.util.Date().getTime();
	
	Token token = null;
	if (session.getAttribute(SessionConstants.Token) != null) {
		token = (Token) session.getAttribute(SessionConstants.Token);
	}
	List<String> typeAndFlag=null;  //菜单标志
	List<String> funcBtns=null;   //功能按钮
	String taccount="";  //登录账号
	String tname="";  //登录姓名
	String troleName="";  //登录角色
	String userId="";
	
	
	if (token != null) {
        typeAndFlag= token.getTypeAndFlag();
        funcBtns=token.getFuncBtns();
        taccount=token.getName();
        tname=token.getRealName();
        troleName=token.getRoleNames();
        userId=token.getId().toString();
    }
%>
<link href="<%=basePath%>js/bootstrap/css/bootstrap.css" type="text/css" rel="stylesheet" />

<!--[if lte IE 9]>
<script src="<%=basePath%>js/bootstrap/js/respond.js"></script>
<script src="<%=basePath%>js/bootstrap/js/html5.js"></script>
<![endif]-->

<link href="<%=basePath%>js/FortAwesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>js/validform/css/validform.css" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>js/pagination/simplePagination.css?_v=<%=versions%>" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>css/reset.css?_v=<%=versions%>" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>css/index.css?_v=<%=versions%>" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>css/header.css?_v=<%=versions%>" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="<%=basePath%>js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="<%=basePath%>js/validform/js/Validform_v5.3.2.js"></script>
<script type="text/javascript" src="<%=basePath%>js/pagination/jquery.simplePagination.js"></script>
<script type="text/javascript" src="<%=basePath%>js/pageHelper.js?_v=<%=versions%>"></script>


<script type="text/javascript" src="<%=basePath%>js/jquery-ui-1.11.4/jquery-ui.js"></script>
<script type="text/javascript" src="<%=basePath%>js/ajaxfileupload.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.fileupload.js"></script>
<script type="text/javascript" src="<%=basePath%>js/utils.js?_v=<%=versions%>"></script>

<!-- artDialog弹出窗口 -->
<script src="<%=basePath%>js/artDialog/artDialog.js?skin=opera" type="text/javascript"></script>
<script src="<%=basePath%>js/artDialog/plugins/iframeTools.js" type="text/javascript"></script>

<link rel="stylesheet" href="<%=basePath%>js/uploadify/uploadify.css">
<script type="text/javascript" src="<%=basePath%>js/uploadify/jquery.uploadify.min.js"></script>

<!-- tab -->
<script type="text/javascript" src="<%=basePath%>js/jquery.idTabs.js"></script>
<script type="text/javascript">
var SERVER_PATH = "<%=serverPath%>";
var APP_ADDRESS = "<%=basePath%>";
var typeAndFlag='<%=typeAndFlag%>';
var funcBtns='<%=funcBtns%>';
var taccount='<%=taccount%>';
var tname='<%=tname%>';
var troleName='<%=troleName%>';
var userId='<%=userId%>';
</script>

<!-- 登陆超时提示语 -->
<div id="loginOutDiv" style="display:none;">
	<div id="loginOutMsg"></div>
</div>

<!-- 字典值统一管理 -->
<div id="comDictionary" style="display:none;">
	<select name="resType">
		<%@include file="public/resType_options.jsp"%> 
	</select>
	<select name="prodType">
		<%@include file="public/proType_options.jsp"%> 
	</select>
	<select name="proTerm">
		<%@include file="public/proTerm_options.jsp"%> 
	</select>
	<select name="proStatus">
		<%@include file="public/proStatus_options.jsp"%> 
	</select>
	<select name="formulaType">
		<%@include file="public/formulaType_options.jsp"%> 
	</select>
	<select name="publishType">
		<%@include file="public/publishType_options.jsp"%> 
	</select>
	<select name="riskLevel">
		<%@include file="public/riskLevel_options.jsp"%> 
	</select>
	<select name="buyChannel">
		<%@include file="public/proBuyChannel_options.jsp"%> 
	</select>
	<select name="buyType">
		<%@include file="public/proBuyType_options.jsp"%>
	</select>
	<select name="sequence">
		<%@include file="public/proSequence_options.jsp"%> 
	</select>
	<select name="currency">
		<%@include file="public/currency_options.jsp"%> 
	</select>
	<select name="level">
		<%@include file="public/userLevel_options.jsp"%> 
	</select>
	<select name="cardsType">
		<%@include file="public/cardsType_options.jsp"%> 
	</select>
	<select name="divStartType">
		<%@include file="public/divStartType_options.jsp"%> 
	</select>

	<select name="actStatus">
		<%@include file="public/actStatus_options.jsp"%>
	</select>
	<!-- 海外保险 -->
	<select name="againGktype">
		<%@include file="public/overseaSafeInfo/oagainGktype_options.jsp"%> 
	</select>
	<select name="contributionsTime">
		<%@include file="public/overseaSafeInfo/ocontributionsTime_options.jsp"%> 
	</select>
	<select name="firstGktype">
		<%@include file="public/overseaSafeInfo/ofirstGktype_options.jsp"%> 
	</select>
	<select name="gkCoin">
		<%@include file="public/overseaSafeInfo/ogkCoin_options.jsp"%> 
	</select>
	<select name="oprodType">
		<%@include file="public/overseaSafeInfo/oprodType_options.jsp"%> 
	</select>
	<select name="safeCompany">
		<%@include file="public/overseaSafeInfo/osafeCompany_options.jsp"%> 
	</select>
	<select name="tbAge">
		<%@include file="public/overseaSafeInfo/otbAge_options.jsp"%> 
	</select>
	<select name="oproStatus">
		<%@include file="public/overseaSafeInfo/oproStatus_options.jsp"%> 
	</select>
	<select name="hotSale">
		<%@include file="public/proHotSaleStatus_options.jsp"%> 
	</select>
	<select name="saleType">
		<%@include file="public/proSaleType_options.jsp"%>
	</select>
	<select name="limitNum">
		<%@include file="public/proLimitNum_options.jsp"%>
	</select>
	<select name="logType">
		<%@include file="public/logType_options.jsp"%> 
	</select>
	<select name="tradeType">
		<%@include file="public/tradeType_options.jsp"%>
	</select>
</div>